package com.sondon.mayi.configs;

/**
 * @Project : Fruit
 * @Package : com.sondon.mayi.configs
 * @Class : URLConfigs
 * @Company 广州讯动网络科技有限公司
 * @Author : 蔡文锋
 * @DateTime：2015年5月30日 下午11:39:57
 * @Blog：http://blog.csdn.net/caiwenfeng_for_23
 * @Description : { 地址配置文件 }
 *
 */
public class URLConfigs {
		//文档接口： http://wn.yandun.com/wiki
	
		//接口访问BaseURL
	 	public final static String BaseURL="http://wn.yandun.com/index.php?";
	 	//图片BaseURL
	 	public final static String IMG_BaseURL="http://wn.yandun.com/";
	    //登录
	    public final static String Login=BaseURL+"controller=apilogin&action=login";
	    //注册
	    public final static String Register=BaseURL+"controller=apilogin&action=register";
	    //修改密码
	    public final static String SetPasswd_ukey=BaseURL+"controller=apiuser&action=edit_pwd&ukey=";
	    //上传头像
	    public final static String UploadHeadImage_ukey=BaseURL+"controller=apiuser&action=user_ico_upload&ukey=";
	    //Umeng推送,绑定用户
	    public final static String BingUmeng_ukey=BaseURL+"controller=apiumeng&action=bind_user&ukey=";
	    //无密码登录
	    public final static String NoPasswdLogin=BaseURL+"controller=apilogin&action=login_in";
	    //上传通讯录
	    public final static String UploadContact_ukey=BaseURL+"controller=apiuser&action=up_address_list&ukey=";
	    //首页广告
	    public final static String ShopAD=BaseURL+"controller=apiad& action=home_ad";
	    //启动广告
	    public final static String WelcomAD=BaseURL+"controller=apiad& action=begin";
	    //商品列表  ukey   search[keywords]  search[category_id]  search[commend_id]
	    public final static String GoodsList_ukey=BaseURL+"controller=apigoods&action=goods_list&ukey=";
	    //商品详情
	    public final static String GoodsInfo_ukey=BaseURL+"controller=apigoods&action=detail&id=";
	    //加入购物车
	    public final static String Add2Cart_ukey=BaseURL+"controller=apicart&action=add_cart&ukey=";
	    //我的购物车
	    public final static String MyCart_ukey=BaseURL+"controller=apicart&action=my_cart&ukey=";
	    //删除购物车商品
	    public final static String DelCart_ukey_cartid=BaseURL+"controller=apicart&action=del_cart&ukey=";
	    //订单列表
	    public final static String OrderList_ukey=BaseURL+"controller=apiorder&action=order&ukey=";
	    //订单详情  $ukey&id=订单id 
	    public final static String OrderDetail_ukey=BaseURL+"controller=apiorder&action=order_detail&ukey=";
	    //添加订单
	    public final static String AddOrder_ukey=BaseURL+"controller=apiorder&action=order_update&ukey=";
	    //删除订单 &ukey=$ukey&id=$id
	    public final static String DelOrder_ukey=BaseURL+"controller=apiorder&action=order_del&ukey=";
	    //取消订单 &ukey=$ukey&id=$id 
	    public final static String CancleOrder_ukey=BaseURL+"controller=apiorder&action=order_cancel&ukey=";
	    //添加收货地址
	    public final static String ReceiveAddress_ukey=BaseURL+"controller=apiuser&action=address_edit&ukey=";
	    //收货地址列表
	    public final static String AddressList_ukey=BaseURL+"controller=apiuser&action=address&ukey=";
	    //默认收货地址
	    public final static String DefaultAddress_ukey=BaseURL+"controller=apiuser&action=get_default_address&ukey=";
	    //删除收货地址  $ukey&id=地址id
	    public final static String DelAddress_ukey=BaseURL+"controller=apiuser&action=address_del&ukey=";
	    //设置为默认地址  用户key&id=地址id
	    public final static String SetDefaultAddress_ukey=BaseURL+"controller=apiuser&action=address_default&is_default=1&ukey=";
	    //省市县接口 不填写返回省级列表  填写id返回下一级列表
	    public final static String AreasInfo_areaid=BaseURL+"controller=apilogin& action=area&area_id=";
	    //客服电话接口
	    public final static String Custom=BaseURL+"controller=apilogin&action=get_custom";
	    //个人信息
	    public final static String MyInfo_ukey=BaseURL+"controller=apiuser&action=info&ukey=";
	    //修改个人信息
	    public final static String ChangeMyInfo_ukey=BaseURL+"controller=apiuser&action=info_edit_act&ukey=";
	    //我的优惠券列表
	    public final static String MyVoucher_ukey=BaseURL+"controller=apiuser&action=my_ticket&ukey=";
	    //积分等级接口
	    public final static String Score_ukey=BaseURL+"controller=apiuser&action=my_level&ukey=";
	    //积分记录列表
	    public final static String ScoreRecordList_ukey=BaseURL+"controller=apiuser&action=exp_log";
	    //积分与等级规则
	    public final static String ScoreEXP=BaseURL+"controller=api&action=exp";
	    //消息列表
	    public final static String NoticeList_ukey=BaseURL+"controller=apiuser&action=push_list&ukey=";
	    //关于我们
	    public final static String About_US="controller=api&action=about";
	    //建议列表(客服聊天)
	    public final static String SuggestionList_ukey=BaseURL+"controller=apiuser&action=suglist&ukey=";
	    //添加建议(客服聊天)
	    public final static String AddSuggestion_ukey=BaseURL+"controller=apiuser&action=suggest&ukey=";
	    //评论
	    public final static String Commit_ukey=BaseURL+"controller=apigoods&action=comment&ukey=";
	    //我的送货列表
	    public final static String SendGoodsList_ukey=BaseURL+"controller=apimailman&action=my_order&ukey=";
}		


